From c71983a0a521155173390d8d075dba915f1768c6 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 29 Jul 2005 10:22:03 +0000 Subject: [PATCH] fix x86_64 domain0 /dev/mem issue x86_64 miss the define of ARCH_HAS_DEV_MEM, that causes /drivers/char/mem.c to not show low 1M memory correctly. Signed-off-by: Xiaofeng Ling --- linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h index 0d6c53a95c..3b729ec0d7 100644 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-x86_64/io.h @@ -369,4 +369,6 @@ extern int iommu_bio_merge; #endif /* __KERNEL__ */ +#define ARCH_HAS_DEV_MEM + #endif -- 2.30.2